#linkid gzopen
fn gzopen(anyptr fname, anyptr mode):anyptr

#linkid gzwrite
fn gzwrite(anyptr outfile, anyptr buf, int len):int

#linkid gzclose
fn gzclose(anyptr outfile):int